<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<hr>
所有部门
<table width="400" border="1">
	<tr>
		<th>部门编号</th>
		<th>部门名</th>
		<th>部门主管</th>
		<th>联系电话</th>
	</tr>	
<s:iterator value="departs" id="dept">
	<tr>
		<td><s:property value="#dept.getId()" /></td>
		<td><s:property value="#dept.getName()" /></td>
		<td><s:property value="#dept.getLeader().getName()" /></td>
		<td><s:property value="#dept.getTel()" /></td>
	</tr>
</s:iterator>
</table>